package com.lucky;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableTransactionManagement
@ServletComponentScan
@MapperScan("com.lucky.*.dao")
@SpringBootApplication
@EnableScheduling
public class LuckyBlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(LuckyBlogApplication.class, args);
        System.out.println("ヾ(◍°∇°◍)ﾉﾞ   启动成功      ヾ(◍°∇°◍)ﾉ");
    }
}
